import api from "@/http/api";
import { PlainObjType } from "@/typings";

export default {
  loginApi: (data: PlainObjType = {}, config: PlainObjType = {}) => {
    const url = "/login";
    return api.post(url, data, { ...config });
  },
};
